<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <h2>用户登陆</h2>
  <h3>cookie登陆</h3>
  <form action="/login" method="post">
    <input type="text" name="username" value="admin"><br>
    <input type="password" name="pwd" value="111111"><br>
    <input type="submit" value="登陆"></input>
  </form>

  <br>
  <h3>session登陆</h3>
  <form action="/login2" method="post">
    <input type="text" name="username" value="admin"><br>
    <input type="password" name="pwd" value="111111"><br>
    <input type="submit" value="登陆"></input>
  </form>
</body>
</html>